package com.mfoyou.agent.web.utils.common;

/**
 * 最终费用计算实体类
 *
 * @author wb-zh270168
 */
public class PriceData {

    /**
     * 基本费用
     */
    private Integer serviceOrderStartAmount;

    /**
     * 距离费用
     */
    private Integer serviceOrderDistanceAmount;

    /**
     * 重量费用
     */
    private Integer serviceOrderWeightAmount;

    /**
     * 时间费用费用
     */
    private Integer serviceOrderHourAmount;

    /**
     * 订单费用
     */
    private Integer serviceOrderAmount;

    /**
     * 订单商品费用
     */
    private Integer serviceOrderGoodAmount;

    /**
     * 优惠券金额
     */
    private Integer coupon_reduce;

    /**
     * 优惠券名称 eg: 帮我做
     */
    private String couponText;

    /**
     * 优惠券id
     */
    private Integer touchId;

    /**
     * 计算总费用
     */
    public void makeOrderAmount() {
        serviceOrderAmount = serviceOrderStartAmount + serviceOrderDistanceAmount + serviceOrderWeightAmount + serviceOrderHourAmount;
    }

    public Integer getServiceOrderStartAmount() {
        return serviceOrderStartAmount;
    }

    public void setServiceOrderStartAmount(Integer serviceOrderStartAmount) {
        this.serviceOrderStartAmount = serviceOrderStartAmount;
    }

    public Integer getServiceOrderDistanceAmount() {
        return serviceOrderDistanceAmount;
    }

    public void setServiceOrderDistanceAmount(Integer serviceOrderDistanceAmount) {
        this.serviceOrderDistanceAmount = serviceOrderDistanceAmount;
    }

    public Integer getServiceOrderWeightAmount() {
        return serviceOrderWeightAmount;
    }

    public void setServiceOrderWeightAmount(Integer serviceOrderWeightAmount) {
        this.serviceOrderWeightAmount = serviceOrderWeightAmount;
    }

    public Integer getServiceOrderHourAmount() {
        return serviceOrderHourAmount;
    }

    public void setServiceOrderHourAmount(Integer serviceOrderHourAmount) {
        this.serviceOrderHourAmount = serviceOrderHourAmount;
    }

    public Integer getServiceOrderAmount() {
        return serviceOrderAmount;
    }

    public void setServiceOrderAmount(Integer serviceOrderAmount) {
        this.serviceOrderAmount = serviceOrderAmount;
    }

    public Integer getServiceOrderGoodAmount() {
        return serviceOrderGoodAmount;
    }

    public void setServiceOrderGoodAmount(Integer serviceOrderGoodAmount) {
        this.serviceOrderGoodAmount = serviceOrderGoodAmount;
    }

    public Integer getCoupon_reduce() {
        return coupon_reduce;
    }

    public void setCoupon_reduce(Integer coupon_reduce) {
        this.coupon_reduce = coupon_reduce;
    }

    public String getCouponText() {
        return couponText;
    }

    public void setCouponText(String couponText) {
        this.couponText = couponText;
    }

    public Integer getTouchId() {
        return touchId;
    }

    public void setTouchId(Integer touchId) {
        this.touchId = touchId;
    }

}
